<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/user_home.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/icon.css"/>
<div class="row" style="border:1px solid #ddd;padding:0px;padding-bottom:10px;">
	<div class="col-xs-12 col-sm-12 col-md-12" style="margin-top:10px;">
		<div class="homeheader">
			<div class="myphoto">
				<img title="{$user.name}" src="{$user.avatar}" class="pic-frm-pic" alt="{$user.name}">
			</div>
			<div class="myinfo">
				<span class="home">{$user.name}</span>
				<span class="mybtn jump_baidu" data-url="http://pan.baidu.com/share/home?uk={$user.uk}#category/type=0">网盘主页</span>
				<br/>
				<p class="show" title="{$user.show|default="该达人暂时没有个人说明"}">{$user.show|default="该达人暂时没有个人说明"}</p>
				<p class="link">
					<a href="{:U('User/home',array('id'=>$user['id'],'type'=>'share'))}" <if condition="$Think.get.type eq '' || $Think.get.type eq 'share'">class="selected"</if>>分享<em>{$user.share}</em></a>&nbsp; 
					<a href="{:U('User/home',array('id'=>$user['id'],'type'=>'album'))}" <if condition="$Think.get.type eq 'album'">class="selected"</if>>专辑<em id="albumcnt_cnt" class="albumcnt">{$user.album}</em></a> &nbsp;
					<a href="javascript:;" data-url="http://pan.baidu.com/share/home?uk={$user.uk}&view=follow" class="jump_baidu">订阅<em class="concerncnt">{$user.follow}</em></a>  &nbsp;
					<a href="javascript:;" data-url="http://pan.baidu.com/share/home?uk={$user.uk}&view=fans" class="jump_baidu">粉丝<em class="fanscnt">{$user.fans}</em></a> &nbsp;
				</p>
			</div>
			
		</div>
	</div>
	<div class="visible-xs col-xs-12 mobile_add">{:W('Mobilead/index',array('position'=>'detail_bottom'))}</div>
	<div class="col-xs-12 col-sm-12 col-md-12">
		<div class="col-xs-12 col-sm-6 col-md-6 list">分享文件</div>
		<switch name="$think.get.type" >
		<case value="album">
			<div class="hidden-xs col-sm-2 col-md-2 list"><a href="{:U('User/home',array('id'=>$user['id'],'type'=>'album','sort'=>'vcnt'))}">浏览次数</a></div>
			<div class="hidden-xs col-sm-2 col-md-2 list"><a href="{:U('User/home',array('id'=>$user['id'],'type'=>'album','sort'=>'tcnt'))}">保存次数</a></div>
			<div class="hidden-xs col-sm-2 col-md-2 list list_end"><a href="{:U('User/home',array('id'=>$user['id'],'type'=>'album','sort'=>'dcnt'))}">下载次数</a></div>
		</case>
		<default />
			<div class="hidden-xs col-sm-2 col-md-2 list"><a href="{:U('User/home',array('id'=>$user['id'],'type'=>'share','sort'=>'vcnt'))}">浏览次数</a></div>
			<div class="hidden-xs col-sm-2 col-md-2 list"><a href="{:U('User/home',array('id'=>$user['id'],'type'=>'share','sort'=>'tcnt'))}">保存次数</a></div>
			<div class="hidden-xs col-sm-2 col-md-2 list list_end"><a href="{:U('User/home',array('id'=>$user['id'],'type'=>'share','sort'=>'dcnt'))}">下载次数</a></div>
		</switch>
		
		
	</div>
	<!-- 分享 -->
	<volist name="share" id="share">
	<div class="col-xs-12 col-sm-12 col-md-12 source_list source_list_noborder">
		<div class="col-xs-12 col-sm-6 col-md-6"><a class="icon-common icon-{$share.doctype}" href="{:U('Detail/index',array('id'=>$share['id']))}" target="_blank">{$share.title}</a></div>
		<div class="hidden-xs col-sm-2 col-md-2">{$share.vCnt}次</div>
		<div class="hidden-xs col-sm-2 col-md-2">{$share.tCnt}次</div>
		<div class="hidden-xs col-sm-2 col-md-2">{$share.dCnt}次</div>
	</div>
	</volist>
	<!-- 专辑 -->
	<volist name="album" id="album">
	<div class="col-xs-12 col-sm-12 col-md-12 source_list source_list_noborder">
		<div class="col-xs-12 col-sm-6 col-md-6"><a class="icon-common icon-album" href="{:U('Album/detail',array('id'=>$album['id']))}" target="_blank">{$album.title}</a></div>
		<div class="hidden-xs col-sm-2 col-md-2">{$album.vCnt}次</div>
		<div class="hidden-xs col-sm-2 col-md-2">{$album.tCnt}次</div>
		<div class="hidden-xs col-sm-2 col-md-2">{$album.dCnt}次</div>
	</div>
	</volist>
	<div class="col-xs-12 col-sm-12 col-md-12">{$page}</div>
</div>
<div class="row" style="border:1px solid #ddd;padding:0px;margin-bottom:20px;margin-top:20px;">
	<div class="visible-xs col-xs-12 mobile_add">{:W('Mobilead/index',array('position'=>'detail_bottom'))}</div>
	<div class="col-xs-12 col-sm-12 col-md-12" style="margin-top:10px;">
		<div style="border-top:1px solid #d2d2d2;border-bottom:1px solid #d2d2d2;background:#F7F7F7;padding-top:5px;padding-bottom:5px;padding-left:20px;">他们也有更多资源哦</div>
	</div>
	<div class="col-xs-12 col-sm-12 col-md-12">
		<ul class="randUser">
			<volist name="randUser" id="randUser">
			<li><a href="{:U('User/home',array('id'=>$randUser['id']))}" target="_blank"><img title="{$randUser.name}" src="{$randUser.avatar}" class="pic-frm-pic" alt="电子书精选"></a>
				<br><span  class="username"><a href="{:U('User/home',array('id'=>$randUser['id']))}" target="_blank" title="{$randUser.name}">{$randUser.name}</a></span>
			</li>
			</volist>
		</ul>
	</div>
</div>
<script>
$(function(){
	var uk={};
	$('.jump_baidu').click(function(){
		window.open($(this).attr('data-url'),'_blank');
	});
});
</script>


